text/template/parse.BranchNode.tr (field)
11 uses
text/template/parse (current package)
node.go#L844: tr *Tree
node.go#L883: return b.tr
node.go#L889: return b.tr.newIf(b.Pos, b.Line, b.Pipe, b.List, b.ElseList)
node.go#L891: return b.tr.newRange(b.Pos, b.Line, b.Pipe, b.List, b.ElseList)
node.go#L893: return b.tr.newWith(b.Pos, b.Line, b.Pipe, b.List, b.ElseList)
node.go#L905: return &IfNode{BranchNode{tr: t, NodeType: NodeIf, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L909: return i.tr.newIf(i.Pos, i.Line, i.Pipe.CopyPipe(), i.List.CopyList(), i.ElseList.CopyList())
node.go#L952: return &RangeNode{BranchNode{tr: t, NodeType: NodeRange, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L956: return r.tr.newRange(r.Pos, r.Line, r.Pipe.CopyPipe(), r.List.CopyList(), r.ElseList.CopyList())
node.go#L965: return &WithNode{BranchNode{tr: t, NodeType: NodeWith, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L969: return w.tr.newWith(w.Pos, w.Line, w.Pipe.CopyPipe(), w.List.CopyList(), w.ElseList.CopyList())